.home {
  $f: 19.2;

  .banner {
    position: relative;

    &::before {
      content: '';
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .2);
    }

    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 33vh;
    }

    .text {
      position: absolute;
      left: 0;
      width: 100%;
      bottom: 30/$f+vw;
      color: white;
      padding: 0 200/$f+vw;

      .p1 {
        font-size: 30/$f+vw;
        font-weight: 600;
        line-height: 1;
      }

      .des {
        font-size: 20/$f+vw;
        margin-top: 20/$f+vw;
        line-height: 1.3;
        font-weight: 200;
      }
    }
  }

  .nav_menu {
    background: #F5F5F5;
    padding: 0 200/$f+vw;
    display: flex;
    align-items: center;

    a {
      display: block;
      padding: 20/$f+vw 44/$f+vw;
      color: #222;
      font-size: 17/$f+vw;
      line-height: 1.2;
      transition: all 600ms;
      cursor: pointer;

      &:hover {
        background: #FFF;
        color: #E6001A;
      }
    }

    .on {
      background: #FFF;
      color: #E6001A;
    }

    span {
      width: 1px;
      height: 10/$f+vw;
      background: #CCC;
    }
  }

  .section {
    margin: 110/$f+vw 200/$f+vw 300/$f+vw 200/$f+vw;
    display: flex;
    justify-content: space-between;

    .l {
      width: 280/$f+vw;

      .types {
        width: 100%;

        .p1 {
          color: #FB0000;
          font-size: 20/$f+vw;
          font-weight: bold;
          border-bottom: 3px solid #FB0000;
          padding: 10/$f+vw 0;
        }

        .list {
          .item {
            margin-top: 16/$f+vw;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #D9D9D9;
            padding: 16/$f+vw 0;
            cursor: pointer;
            transition: all 600ms;

            p {
              color: #666;
              font-size: 20/$f+vw;
              transition: all 600ms;
            }

            svg {
              path {
                fill: rgba(102, 102, 102, 1);
                transition: all 600ms;
              }
            }

            &:hover {
              border-color: rgba(251, 0, 0, 1);

              p {
                color: rgba(251, 0, 0, 1);
              }

              svg {
                path {
                  fill: rgba(251, 0, 0, 1);
                }
              }
            }
          }

          .on {
            border-color: rgba(251, 0, 0, 1);

            p {
              color: rgba(251, 0, 0, 1);
            }

            svg {
              path {
                fill: rgba(251, 0, 0, 1);
              }
            }
          }
        }
      }
    }

    .r {
      width: 1150/$f+vw;
      position: relative;
      .btns{
        position: absolute;
        right:50/$f+vw;
        top:50/$f+vw;
        display: flex;
        align-items: center;
        z-index: 10;
        .btn{
          display: flex;
          align-items: center;
          cursor: pointer;
          svg{
            width: 16/$f+vw;
          }
          p{
            color: #FB0000;
            font-size: 16/$f+vw;
            line-height: 1.5;
            margin-left: 6/$f+vw;
          }
        }
        .play{
          margin-left: 32/$f+vw;
        }
      }
      .pics {
        width: 100%;

        .swiper1 {
          width: 100%;

          .pic {
            img {
              width: 100%;
              display: block;
              object-fit: cover;
            }
          }
        }
      }

      .html {
        border-top: 1px solid #000;
        padding-top: 14/$f+vw;
        color: #666;
        font-size: 16/$f+vw;
        line-height: 1.62;
        font-weight: 200;
        img {
          max-width: 100%;
        }
      }
    }
  }

  .dialog {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .6);
    display: none;
    z-index: 1003;

    .close {
      position: absolute;
      right: 5%;
      top: 5%;
      cursor: pointer;
      z-index: 100;

      img {
        width: 50px;
      }
    }

    .content {
      width: 100%;

      video {
        width: 80%;
        height: 80vh;
        object-fit: cover;
        display: block;
        margin: 0 auto;
      }
    }
  }

  @media screen and (max-width: 1024px) {
    .banner {
      img {
        height: 300px;
      }
    }

    .nav_menu {
      padding: 0;

      a {
        padding: 15px 10px;
        font-size: 14px;
      }

      span {
        height: 10px;
      }
    }

    .section {
      margin: 30px 5% 60px 5%;
      flex-direction: column;

      .l {
        width: 100%;

        .types {
          .p1 {
            padding: 15px 0;
            font-size: 18px;
          }

          .list {
            .item {
              padding: 15px 0;

              p {
                font-size: 18px;
              }
            }
          }
        }
      }

      .r {
        width: 100%;
        margin-top: 30px;
        padding-top: 30px;
        .btns{
          .btn{
            svg{
              width: 25px;
            }
            p{
              font-size: 16px;
            }
          }
          .play{
            margin-left: 20px;
          }
        }
        .html {
          margin: 20px 0;
            font-size: 14px;
            line-height: 1.8;
        }
      }
    }

    .dialog {
      .close {
        top: 80px;

        img {
          width: 30px;
        }
      }

      .content {
        video {
          height: 60vh;
        }
      }
    }
  }
}